<script language="javascript" type="text/javascript" src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
  .info
  {
    width: 400px;
    height: 140px;
    margin: 20px 0 20px 100px;
    border: 1px #CCC solid;
  }
  .info .left
  {
    width: 100px;
    height: 140px;
    line-height: 140px;
    text-align: center;
    border-right: 1px #CCC solid;
    float: left;
  }
  .info .center
  {
    float: left;
  }
  .info .center div
  {
    margin-top: 10px;
    clear: both;
  }
  .info .center div span
  {
    width: 80px;
    margin-left: 10px;
    display: block;
    float: left;
  }
  .div_left
  {
    float: left;
  }
  .div_right
  { 
    margin-left: 50px;
    float: left;
  }
</style>
 <div class="form">
     <div>
      <input type="button" value="返回" class="button-return" onclick="history.go(-1)">
     </div>
      <div   class="div_left">
        <dl>
          <dt>订单号：</dt>
          <dd>
            <input type="text" name="orderID" class="inp_one" value="{$local_input.orderID}" />
          </dd>
        </dl>
        <dl>
          <dt>姓名：</dt>
          <dd>
            <input type="text" name="customerName" class="inp_one" value="{$local_input.customerName}" />
          </dd>
        </dl>
        <dl>
          <dt>联系电话：(国内手机)</dt>
          <dd>
            <input type="text" name="customerMobileHome" class="inp_one" value="{$local_input.customerMobileHome}" />
          </dd>
        </dl>
        <dl>
          <dt>联系电话：(国外手机)</dt>
          <dd>
            <input type="text" name="customerMobile" class="inp_one" value="{$local_input.customerMobile}" />
          </dd>
        </dl>
        <dl>
          <dt>邮箱地址：</dt>
          <dd>
            <input type="text" name="customerEmail" class="inp_one" value="{$local_input.customerEmail}" />
          </dd>
        </dl>
        <dl>
          <dt>酒店英文名称：</dt>
          <dd>
            <input type="text" name="customerEmail" class="inp_one" value="{$local_input.hotelName}" />
          </dd>
        </dl>
      <dl>
      <dt>落地签：</dt>
        <dd>
          <input type="radio" name="isLandingSign" value="1" <if condition="$local_input['isLandingSign'] eq '1' ">checked</if>>是
          <input type="radio" name="isLandingSign" value="0" <if condition="$local_input['isLandingSign'] eq '0' ">checked</if>>否
        </dd>
      </dl>
      <dl>
    </div>
    <div class="div_right">
      <div class="div_title">
        <span>类型：</span>
      </div>
      <div class="div_content">
        <foreach name="local_airplane" item="l_a">
        <if condition="$l_a['airplaneType'] eq '1' ">
        <div class="info jieji">
          <div class="left">接机</div>
          <div class="center">
            <div>
              <span>航班号：</span>
              <input type="text" name="flightNumber" value="{$l_a.flightNumber}" >
            </div>
            <div>
              <span>到达日期：</span>
              <input class="Wdate" type="text" name="arrivalDate" onClick="WdatePicker()"value="{$l_a.arrivalDate|date='Y-m-d',###}" >
            </div>
            <div>
              <span>成人数：</span>
              <input type="text" name="adultNum" value="{$l_a.adultNum}">
            </div>
            <div>
              <span>儿童数：</span>
              <input type="text" name="childNum" value="{$l_a.childNum}">
            </div>
          </div>
        </div>
        </if>

        <if condition="$l_a['airplaneType'] eq '2' ">
        <div class="info songji">
          <div class="left">送机</div>
          <div class="center">
            <div>
              <span>航班号：</span>
              <input type="text" name="flightNumber" value="{$l_a.flightNumber}">
            </div>
            <div>
              <span>到达日期：</span>
              <input class="Wdate" type="text" name="arrivalDate" onClick="WdatePicker()" value="{$l_a.arrivalDate|date='Y-m-d',###}">
            </div>
            <div>
              <span>成人数：</span>
              <input type="text" name="adultNum" value="{$l_a.adultNum}">
            </div>
            <div>
              <span>儿童数：</span>
              <input type="text" name="childNum" value="{$l_a.childNum}">
            </div>
          </div>
        </div>
        </if>
        <if condition="$l_a['airplaneType'] eq '3' ">

        <div class="info zhuanji">
          <div class="left">转机</div>
          <div class="center">
            <div>
              <span>航班号：</span>
              <input type="text" name="flightNumber" value="{$l_a.flightNumber}">
            </div>
            <div>
              <span>到达日期：</span>
              <input class="Wdate" type="text" name="arrivalDate" onClick="WdatePicker()" value="{$l_a.arrivalDate|date='Y-m-d',###}">
            </div>
            <div>
              <span>成人数：</span>
              <input type="text" name="adultNum" value="{$l_a.adultNum}">
            </div>
            <div>
              <span>儿童数：</span>
              <input type="text" name="childNum" value="{$l_a.childNum}">
            </div>
          </div>
        </div>
        </if>
        </foreach>
      </div>
    </div>
    <div class="clear"></div>
</div>
<script type="text/javascript">

function check (obj,name)
{
  var checked = $(obj).attr('checked');
  if(checked == 'checked')
  {
    $('.'+name).css('display','block');
  }
  else
  {
    $('.'+name).css('display','none');
  }
}

function add (obj,name)
{
  var add_obj = $(obj).parent().parent();
  var html = add_obj.html();
  var s = '';
      s+='<div class="info '+name+'" style="display: block;">';
      s+=''+html+'';
      s+='</div>';
      add_obj.after(s);

}
</script>